package com.xbongbong.admin.domain.entity;

import com.xbongbong.paas.toolbox.wrap.Entity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 镜像打印模板配置
 * @author xingxing.xiao
 * @date 2020/01/09 16:11
 */
@Getter
@Setter
@ToString
public class MirrorPrintTemplateEntity extends Entity {

    private static final long serialVersionUID = 4756241772195468955L;
    /**
     * 主键
     */
    private Long id;
    /**
     * 镜像id
     */
    private Long mirrorId;
    /**
     * 镜像应用id
     */
    private Long mirrorAppId;
    /**
     * 镜像菜单id
     */
    private Long mirrorMenuId;
    /**
     * 镜像表单id
     */
    private Long mirrorFormId;
    /**
     * 来源打印模板id
     */
    private Long sourcePrintId;
    /**
     * 打印模板名称
     */
    private String name;
    /**
     * 是否为当前启用模板（1是，0否）
     */
    private Integer enable;
    /**
     * 前端传过来的页面信息
     */
    private String html;
    /**
     * 一些打印配置信息如"间距"，json格式
     */
    private String configInfo;
    /**
     * 业务类型
     */
    private Integer businessType;

    /**
     * 创建者id
     */
    private String creatorId;
    /**
     * 创建时间时间戳
     */
    private Long addTime;
    /**
     * 更新时间时间戳
     */
    private Long updateTime;
    /**
     * 删除标记
     */
    private Integer del;

    public MirrorPrintTemplateEntity() {
    }

    public MirrorPrintTemplateEntity(Long mirrorId, Long mirrorAppId, Long mirrorMenuId, Long mirrorFormId, Long sourcePrintId, String name, Integer enable, String html, String configInfo, Integer businessType, String creatorId, Long addTime, Long updateTime, Integer del) {
        this.mirrorId = mirrorId;
        this.mirrorAppId = mirrorAppId;
        this.mirrorMenuId = mirrorMenuId;
        this.mirrorFormId = mirrorFormId;
        this.sourcePrintId = sourcePrintId;
        this.name = name;
        this.enable = enable;
        this.html = html;
        this.configInfo = configInfo;
        this.businessType = businessType;
        this.creatorId = creatorId;
        this.addTime = addTime;
        this.updateTime = updateTime;
        this.del = del;
    }

}
